package com.keyou.reggie.enums;

/**
 * @Author: klq
 * @Date: 2023/1/9 18:41
 * @Description:
 */
public enum ResultCode {

    RESULT_SUCESS("成功", 1),
    RESULT_ERROR("失败", 0),
    RESULT_SYSTEM_ERROR("系统错误", 10000);

    private String msg;
    private int code;

    ResultCode(String msg, int code) {
        this.msg = msg;
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public int getCode() {
        return code;
    }
}